package com.dfec.model;

public class User {

		private Integer id;// 用户id

		private String user_name;// 用户名

		private String email;// 用户邮箱

		private String user_pass;// 用户密码

		private Integer state;//用户账号状态：0表示未激活，1表示激活

		private String code;//激活码
		
		private String token;//权限验证
		
		private String phone;//手机号码
		
		private String head_icon;//用户头像4

		private String qq;//qq

		



		public User(){

			

		}

		
         
         public User(String user_phone, String user_pass) {
 			this.phone = user_phone;
 			this.user_pass = user_pass;
 		}


		//激活手机号注册
		public User(String user_name, String email, String user_pass, Integer state, String code) {

			this.phone = user_name;

			this.email = email;

			this.user_pass = user_pass;

			this.state = state;

			this.code = code;

		}
		
        //验证token
        public User(String token) {
			super();
			this.token = token;
		}


		


		//用户信息
		public User(Integer id, String user_name, String email, String user_pass, Integer state, String code,
				String token, String phone, String head_icon) {
			super();
			this.id = id;
			this.user_name = user_name;
			this.email = email;
			this.user_pass = user_pass;
			this.state = state;
			this.code = code;
			this.token = token;
			this.phone = phone;
			this.head_icon = head_icon;
		}



		public Integer getId() {

			return id;

		}



		public void setId(Integer id) {

			this.id = id;

		}





		public String getHead_icon() {
			return head_icon;
		}



		public void setHead_icon(String head_icon) {
			this.head_icon = head_icon;
		}



		public String getEmail() {

			return email;

		}



		public void setEmail(String email) {

			this.email = email;

		}



		public Integer getState() {

			return state;

		}



		public void setState(Integer state) {

			this.state = state;

		}



		public String getCode() {

			return code;

		}



		public void setCode(String code) {

			this.code = code;

		}



		public String getUser_name() {
			return user_name;
		}



		public void setUser_name(String user_name) {
			this.user_name = user_name;
		}



		public String getUser_pass() {
			return user_pass;
		}



		public void setUser_pass(String user_pass) {
			this.user_pass = user_pass;
		}



		public String getToken() {
			return token;
		}



		public void setToken(String token) {
			this.token = token;
		}



		public String getPhone() {
			return phone;
		}



		public void setPhone(String phone) {
			this.phone = phone;
		}



		public String getQq() {
			return qq;
		}



		public void setQq(String qq) {
			this.qq = qq;
		}



}
